package com.xiyu.service.convert.health;

import com.xiyu.service.vo.health.medicineRegister.MedicineRegisterTemporaryCreateInput;
import com.xiyu.service.vo.health.medicineRegister.MedicineRegisterPageQueryOutput;
import com.xiyu.service.model.medicine.HealthMedicineRegister;
import java.util.*;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import org.babyfish.jimmer.Page;

/**
 * 用药登记 Convert
 */
@Mapper
public interface MedicineRegisterConvert {
    MedicineRegisterConvert INSTANCE = Mappers.getMapper(MedicineRegisterConvert.class);


    List<MedicineRegisterPageQueryOutput> pageQueryOutputConvert(List<HealthMedicineRegister> output);

    List<HealthMedicineRegister> temporaryCreateInputConvert(List<MedicineRegisterTemporaryCreateInput> input);

}
